import 'package:flutter_enjoy_plus_seven/constants/index.dart';
import 'package:flutter_enjoy_plus_seven/utils/RequestDio.dart';

class HomeApi {
  static Future getAnnouncementList() async {
    return await requestDio.get(HTTP_PATH.ANNOUNCEMENT_LIST);
  }

  static Future getAnnouncementDetail(String id) async {
    return await requestDio.get('${HTTP_PATH.ANNOUNCEMENT_LIST}/$id');
  }
}
